package com.hehe.ai.langchain4j.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import nonapi.io.github.classgraph.json.Id;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author: hehe
 * @create: 2025-05-13 17:17
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("chat_message")
public class IChatMessage {
    // 唯一标识，映射到mongodb的_id字段
    @Id
    private ObjectId id;

    private  String memoryId;
    // 存储当前聊天记录列表的json字符串
    private String content;
}
